from shapes import *



def skyscraper(t,size=50):
	rect(t, size*3.0, size*10)
	move(t,size*.9,size*0)
	for i in range(4):
		rect(t,size*.3,size*.5)
		move(t,size*.3,size*0)
	move(t,size*.9,size)
	for i in range(5):
		line(t,-size*3,size*0)
		move(t,size*0,size*1)
		line(t,size*3,size*0)
		move(t,size*0,size*1)
	move(t,-size*0,-size*1)
	move(t,-size*.45,size*0)
	line(t,size*0, -size*10)
	move(t,-size*.45,size*0)
	line(t,size*0, size*10)
	move(t,-size*.45,size*0)
	line(t,size*0, -size*9.5)
	move(t,-size*.45,size*0)
	line(t,size*0, size*9.5)
	move(t,-size*0,-size*0)
	move(t,-size*.45,size*0)
	line(t,size*0, -size*10)
	move(t,-size*.45,size*0)
	line(t,size*0, size*10)
	move(t,size*2.7, -size*10)
	
def skyscrapertop(t,size=50):
	rect(t, size*3.0, size*10)
	move(t,size*.9,size*0)
	for i in range(4):
		rect(t,size*.3,size*.5)
		move(t,size*.3,size*0)
	move(t,size*.9,size)
	for i in range(5):
		line(t,-size*3,size*0)
		move(t,size*0,size*1)
		line(t,size*3,size*0)
		move(t,size*0,size*1)
	move(t,-size*0,-size*1)
	move(t,-size*.45,size*0)
	line(t,size*0, -size*10)
	move(t,-size*.45,size*0)
	line(t,size*0, size*10)
	move(t,-size*.45,size*0)
	line(t,size*0, -size*9.5)
	move(t,-size*.45,size*0)
	line(t,size*0, size*9.5)
	move(t,-size*0,-size*0)
	move(t,-size*.45,size*0)
	line(t,size*0, -size*10)
	move(t,-size*.45,size*0)
	line(t,size*0, size*10)
	move(t,-size*.3, size*0)
	equilateral_tri(t,size*3)
	move(t,size*.3, size*0)
	line(t,size*0,size*.52)
	move(t,size*.45,-size*.52)
	line(t,size*0, size*1.32)
	move(t,size*.45, -size*1.32)
	line(t,size*0, size*2.1)
	move(t,size*.45, -size*2.1)
	line(t,size*0,size*2.33)
	move(t,size*.45,-size*2.33)
	line(t,size*0,size*1.6)
	move(t,size*.45,-size*1.6)
	line(t,size*0,size*.8)
	move(t,size*.45,-size*10.8)
	
def skyscraperarc(t,size=50):
	rect(t, size*3.0, size*10)
	move(t,size*.9,size*0)
	for i in range(4):
		rect(t,size*.3,size*.5)
		move(t,size*.3,size*0)
	move(t,size*.9,size)
	for i in range(5):
		line(t,-size*3,size*0)
		move(t,size*0,size*1)
		line(t,size*3,size*0)
		move(t,size*0,size*1)
	move(t,-size*0,-size*1)
	move(t,-size*.45,size*0)
	line(t,size*0, -size*10)
	move(t,-size*.45,size*0)
	line(t,size*0, size*10)
	move(t,-size*.45,size*0)
	line(t,size*0, -size*9.5)
	move(t,-size*.45,size*0)
	line(t,size*0, size*9.5)
	move(t,-size*0,-size*0)
	move(t,-size*.45,size*0)
	line(t,size*0, -size*10)
	move(t,-size*.45,size*0)
	line(t,size*0, size*10)
	move(t,size*1.2, size*0)
	arc(t,size*1.5,185,0)
	move(t,size*0,size*1.17)
	arc(t,size,185,0)
	move(t,size*0,size*.83)
	arc(t,size*.6,185,0)
	move(t,size*0,size*.47)
	arc(t,size*.4,190,0)
	move(t,0,size*.33)
	arc(t,size*.3,195,0)
	move(t,0,size*.33)
	line(t,0,size*.6)
	
		
	
	

def middle(t):
	t.pu()
	t.fd(500)
	t.rt()
	t.fd(600)
	t.lt()
	t.pd()
	
